﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<!-- 网页导航菜单分布视图 -->
@Html.Partial("~/Views/Shared/HouTai_Header.cshtml")
<body>
    <!-- 网页导航菜单分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_DaoHang.cshtml")

    <div class="container">
        <div class="row">

            <!-- 网页左侧菜单分布视图 -->
            @Html.Partial("~/Views/Shared/HouTai_Left_Menu_Course.cshtml")

            <div class="col-md-10">
                <div class="page-header clearfix">
                    <h1 class="pull-left">班级推荐</h1>
                    <div class="pull-right">

                    </div>
                </div>


                <ul class="nav nav-tabs " >
                    <li>
                        <a href="/Class/ClassRoom">班级管理</a>
                    </li>
                    <li class="active">
                        <a href="/Class/ClassTui">班级推荐</a>
                    </li>
                </ul>



                <table class="table table-striped table-hover" id="classroom-table">
                    <thead>
                        <tr>
                            <th>顺序号</th>
                            <th width="50%">训练营名称</th>
                            <th>创建时间</th>
                            <th>推荐时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach (var item in ViewBag.ct as List<LeEdu.MODEL.ClassTable>)
                        {
                            <tr id="classroom-tr-2" data-sort="222">
                                <td>@item.ClassReNumber</td>
                                <td>
                                    <a href="/Class/ClassManage/@item.ClassTableId" target="_blank"><strong>@item.CTName</strong></a>
                                </td>
                                <td>
                                    <span class="text-muted text-sm">@item.ClassCreateTime</span>
                                </td>
                                <td>
                                 @item.ClassReTime
                                </td>
                                <td>
                                    <div class="btn-group">
                                        <a class="btn btn-default btn-sm" href="/Class/ClassTuiShe/@item.ClassTableId" data-toggle="modal" data-target="#myModal">设置序号</a>
                                        <a href="#" type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
                                            <span class="caret"></span>
                                        </a>
                                        <ul class="dropdown-menu pull-right">
                                            <li><a class="cancel-recommend-classroom" href="/Class/QuXiao/@item.ClassTableId" data-url="/admin/classroom/2/recommend/cancel?ref=recommendList" title="取消训练营推荐"><span class="glyphicon glyphicon-hand-right"></span> 取消推荐</a></li>

                                        </ul>
                                    </div>
                                </td>
                            </tr>
                        }


                      
                    </tbody>
                </table>
                <nav class="text-center">

                </nav>
                <!-- 设置推荐班级 -->

                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                    <div class="modal-dialog" role="document">
                        <div class="modal-content">

                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <script>
  var app = {};
  app.debug = false;
  app.version = '6.9.3';
  app.httpHost = 'http://www.zhishile.com';
  app.basePath = '';
  app.theme = 'jianmo';
  app.themeGlobalScript = 'theme/global-script';
  app.jsPaths = {"common":"common","theme":"\/themes\/jianmo\/js","customwebbundle":"\/bundles\/customweb\/js","customadminbundle":"\/bundles\/customadmin\/js","topxiawebbundle":"\/bundles\/topxiaweb\/js","topxiaadminbundle":"\/bundles\/topxiaadmin\/js","classroombundle":"\/bundles\/classroom\/js"};

  app.crontab = '/common/crontab';

  var CKEDITOR_BASEPATH = app.basePath + '/assets/libs/ckeditor/4.6.7/';

  app.config = {"api":{"weibo":{"key":""},"qq":{"key":""},"douban":{"key":""},"renren":{"key":""}},"cloud":{"video_player":"http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/GrindPlayer.swf","video_player_watermark_plugin":"http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Watermake-1.0.3.swf","video_player_fingerprint_plugin":"http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Fingerprint-1.0.1.swf"},"loading_img_path":"\/assets\/img\/default\/loading.gif?6.9.3"};

  app.arguments = {};
      app.controller = 'classroombundle/controller/classroom-admin/classroom';

  app.scripts = null;

  app.uploadUrl = '/file/upload';
  app.imgCropUrl = '/file/img/crop';
  app.lessonCopyEnabled = '0';

  app.mainScript = '/bundles/topxiaadmin/js/admin-app.js?6.9.3';
    </script>
    <script src="/assets/libs/seajs/seajs/2.2.1/sea.js?6.9.3"></script>
    <script src="/assets/libs/seajs/seajs-style/1.0.2/seajs-style.js?6.9.3"></script>
    <script src="/assets/libs/seajs-global-config.js?6.9.3"></script>
    <script>
  seajs.use(app.mainScript);
    </script>  <div id="modal" class="modal"></div>
    <div class="fixed-bar">
        <a href="/admin/feedback" target="_blank" class="icon-question-text feedback">
            <i class="es-icon es-icon-help"></i>
            <span>产品<br>反馈</span>
        </a>
    </div>


</body>
</html>